﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200050B RID: 1291
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ExtraLineupDestroyNotify : IMessage<ExtraLineupDestroyNotify>, IMessage, IEquatable<ExtraLineupDestroyNotify>, IDeepCloneable<ExtraLineupDestroyNotify>, IBufferMessage
	{
		// Token: 0x170010B2 RID: 4274
		// (get) Token: 0x06003A67 RID: 14951 RVA: 0x000A05F9 File Offset: 0x0009E7F9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ExtraLineupDestroyNotify> Parser
		{
			get
			{
				return ExtraLineupDestroyNotify._parser;
			}
		}

		// Token: 0x170010B3 RID: 4275
		// (get) Token: 0x06003A68 RID: 14952 RVA: 0x000A0600 File Offset: 0x0009E800
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ExtraLineupDestroyNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170010B4 RID: 4276
		// (get) Token: 0x06003A69 RID: 14953 RVA: 0x000A0612 File Offset: 0x0009E812
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ExtraLineupDestroyNotify.Descriptor;
			}
		}

		// Token: 0x06003A6A RID: 14954 RVA: 0x000A0619 File Offset: 0x0009E819
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExtraLineupDestroyNotify()
		{
		}

		// Token: 0x06003A6B RID: 14955 RVA: 0x000A0621 File Offset: 0x0009E821
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExtraLineupDestroyNotify(ExtraLineupDestroyNotify other) : this()
		{
			this.extraLineupType_ = other.extraLineupType_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06003A6C RID: 14956 RVA: 0x000A0646 File Offset: 0x0009E846
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExtraLineupDestroyNotify Clone()
		{
			return new ExtraLineupDestroyNotify(this);
		}

		// Token: 0x170010B5 RID: 4277
		// (get) Token: 0x06003A6D RID: 14957 RVA: 0x000A064E File Offset: 0x0009E84E
		// (set) Token: 0x06003A6E RID: 14958 RVA: 0x000A0656 File Offset: 0x0009E856
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ExtraLineupType ExtraLineupType
		{
			get
			{
				return this.extraLineupType_;
			}
			set
			{
				this.extraLineupType_ = value;
			}
		}

		// Token: 0x06003A6F RID: 14959 RVA: 0x000A065F File Offset: 0x0009E85F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ExtraLineupDestroyNotify);
		}

		// Token: 0x06003A70 RID: 14960 RVA: 0x000A066D File Offset: 0x0009E86D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ExtraLineupDestroyNotify other)
		{
			return other != null && (other == this || (this.ExtraLineupType == other.ExtraLineupType && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06003A71 RID: 14961 RVA: 0x000A069C File Offset: 0x0009E89C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ExtraLineupType != ExtraLineupType.LineupNone)
			{
				num ^= this.ExtraLineupType.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06003A72 RID: 14962 RVA: 0x000A06E1 File Offset: 0x0009E8E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06003A73 RID: 14963 RVA: 0x000A06E9 File Offset: 0x0009E8E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06003A74 RID: 14964 RVA: 0x000A06F2 File Offset: 0x0009E8F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ExtraLineupType != ExtraLineupType.LineupNone)
			{
				output.WriteRawTag(40);
				output.WriteEnum((int)this.ExtraLineupType);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06003A75 RID: 14965 RVA: 0x000A0724 File Offset: 0x0009E924
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ExtraLineupType != ExtraLineupType.LineupNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.ExtraLineupType);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06003A76 RID: 14966 RVA: 0x000A0762 File Offset: 0x0009E962
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ExtraLineupDestroyNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ExtraLineupType != ExtraLineupType.LineupNone)
			{
				this.ExtraLineupType = other.ExtraLineupType;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06003A77 RID: 14967 RVA: 0x000A0793 File Offset: 0x0009E993
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06003A78 RID: 14968 RVA: 0x000A079C File Offset: 0x0009E99C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ExtraLineupType = (ExtraLineupType)input.ReadEnum();
				}
			}
		}

		// Token: 0x040016E6 RID: 5862
		private static readonly MessageParser<ExtraLineupDestroyNotify> _parser = new MessageParser<ExtraLineupDestroyNotify>(() => new ExtraLineupDestroyNotify());

		// Token: 0x040016E7 RID: 5863
		private UnknownFieldSet _unknownFields;

		// Token: 0x040016E8 RID: 5864
		public const int ExtraLineupTypeFieldNumber = 5;

		// Token: 0x040016E9 RID: 5865
		private ExtraLineupType extraLineupType_;
	}
}
